cmake_minimum_required(VERSION 3.12)
project(ThreadPool)

set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++20 -O3")
set(CMAKE_VERBOSE_MAKEFILEON ON)

include_directories(${PROJECT_SOURCE_DIR}/include)

add_executable(test src/test.cpp src/ThreadPool.cpp)
add_library(ThreadPool src/ThreadPool.cpp)
# add_library(ThreadPool SHARED src/ThreadPool.cpp)